﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GraphConfigTool
{
    public class HeaterStripRect
    {
        public int index { get; set; }//索引号
        public Size initSize;//长方形初始值
        [JsonIgnore]//不需要序列化标记
        public Pen pen;
        public Rectangle rect { get; set; }
        public int type;


        public HeaterStripRect(Point location)
        {
            pen = new Pen(Color.FromArgb(122, 139, 139), 2.0f);
            pen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash;

            initSize = new Size(100, 100);
            rect = new Rectangle(location, initSize);

        }
    }
}
